﻿using System.Text.Json.Serialization;

namespace Yyd.ExternalService.CustomerMarking
{
    /// <summary>
    /// 客户来源相关信息
    /// </summary>
    public class CustomerSourceInfo
    {
        /// <summary>
        /// 客户标识
        /// </summary>
        [JsonPropertyName("custId")]
        public string Id { get; set; }

        /// <summary>
        /// 客户姓名
        /// </summary>
        [JsonPropertyName("custName")]
        public string Name { get; set; }

        /// <summary>
        /// 客户手机号
        /// </summary>           
        [JsonPropertyName("custMobile")]
        public string Mobile { get; set; }

        /// <summary>
        /// 客户来源渠道标识
        /// </summary>
        [JsonPropertyName("custSourcechannel")]
        public string SourceChannelId { get; set; }

        #region 激活，创建 新旧代理商标识

        /// <summary>
        /// 激活 客户的代理商标识(老系统)
        /// </summary>
        [JsonPropertyName("custActiveagentsourceid")]
        public string ActiveAgentSourceId { get; set; }

        /// <summary>
        /// 创建 客户的代理商标识(老系统)
        /// </summary>
        [JsonPropertyName("custCreateAgentSourceId")]
        public string CreateAgentSourceId { get; set; }

        /// <summary>
        /// 激活 客户的代理商名称
        /// </summary>           
        [JsonPropertyName("custActiveagentname")]
        public string ActiveAgentName { get; set; }
        /// <summary>
        /// 激活 客户的代理商标识
        /// </summary>           
        [JsonPropertyName("custActiveagentid")]
        public string ActiveAgentId { get; set; }
        /// <summary>
        /// 客户的代理激活时间
        /// </summary>           
        [JsonPropertyName("custActivedate")]
        public string AgentActivedate { get; set; }
        /// <summary>
        /// 创建客户的代理商名称
        /// </summary>           
        [JsonPropertyName("custCreateagentname")]
        public string CreateAgentName { get; set; }

        /// <summary>
        /// 创建客户的代理商标识
        /// </summary>           
        [JsonPropertyName("custCreateagentid")]
        public string CreateAgentId { get; set; }

        #endregion
        /// <summary>
        /// 客户创建人
        /// </summary>
        [JsonPropertyName("custCreator")]
        public string CreatorId { get; set; }
        /// <summary>
        /// 客户创建时间
        /// </summary>
        [JsonPropertyName("custCreateddate")]
        public string Createddate { get; set; }
    }
}
